//
// Created by iguilty on 2022-01-12.
//

#include "Prototype.h"
#include <iostream>
using namespace std;
Prototype::Prototype()= default;
Prototype::~Prototype()= default;
Prototype* Prototype::Clone() const
{
    return nullptr;
}
ConcretePrototype::ConcretePrototype()= default;
ConcretePrototype::~ConcretePrototype()= default;
ConcretePrototype::ConcretePrototype(const ConcretePrototype& cp)
{
    cout<<"ConcretePrototype copy ..."<<endl;
}
Prototype* ConcretePrototype::Clone() const
{
    return new ConcretePrototype(*this);
}